package org.example

object ikun {
  def main(args: Array[String]): Unit = {
    val arr1 = Array(1,2,3,4,5)
    arr1.filter(_ % 2 == 0).foreach(println)
    val stringList = List("nba","cba","cuba","ncaa","acb")
    println(stringList.groupBy(_.charAt(0)))

//    val keyWord1 = keyWord.flatMap(_.split(""))
//    println(keyWord1)

  }

}
